const mongoose = require('mongoose');
const dbURI = 'mongodb://localhost/love';  // 其中 test 为连接的数据库名称
mongoose.connect(dbURI, { useNewUrlParser: true, useUnifiedTopology: true });
mongoose.connection.on('connected', function () {
    console.log('Mongoose connected to ' + dbURI);
});
// 后台
require("./models/addressesModel");
require("./models/platformAdminsModel");
require("./models/storeAdminsModel");
require("./models/ordersModel");
require("./models/putinModel");
require("./models/shopsModel");
require("./models/usersModel");
require("./models/goodsModel.js");


require("./models/userlistModel.js");



require("./models/goodsModel");


